<template>
  <div class="bgc-default pad-20">
    <div class="tab-sticky">
      <el-tabs v-model="commissionType">
        <el-tab-pane label="云店相关" name="1"></el-tab-pane>
        <el-tab-pane label="主播相关" name="2"></el-tab-pane>
      </el-tabs>
    </div>
    <div class="bg-color-white pad-20 mar-t-20">
      <one-partner-shop-commission v-if="commissionType == 1"></one-partner-shop-commission>
      <one-partner-anchor-commission v-if="commissionType == 2"></one-partner-anchor-commission>
    </div>
  </div>
</template>

<script>
  import OnePartnerShopCommission from './components/one-partner-shop-commission'
  import OnePartnerAnchorCommission from './components/one-partner-anchor-commission'
  export default {
    components: { OnePartnerShopCommission, OnePartnerAnchorCommission },
    data() {
      return {
        commissionType: '1'
      }
    },
    // 初始化页面
    created() {
    },
    methods: {
    },
    mounted() {
    }
  }
</script>
<style lang="less" scoped>
</style>
